From cc4e0524e0a3b475b929f68c4ff2fb893fe977fc Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Fri, 10 Aug 2018 18:08:00 +0100 Subject: [PATCH] x86: guard HAS_VPCI with CONFIG_HVM VPCI is only useful for PVH / HVM guests. Ideally CONFIG_HVM should imply !PV_SHIM_EXCLUSIVE, but we still want to build PV_SHIM_EXCLUSIVE with CONFIG_HVM at this stage because a lot of things are still entangled. Signed-off-by: Wei Liu Acked-by: Jan Beulich --- xen/arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig index ba5cb62bdd..73ab8f8f9f 100644 --- a/xen/arch/x86/Kconfig +++ b/xen/arch/x86/Kconfig @@ -23,7 +23,7 @@ config X86 select HAS_PCI select HAS_PDX select HAS_UBSAN - select HAS_VPCI if !PV_SHIM_EXCLUSIVE + select HAS_VPCI if !PV_SHIM_EXCLUSIVE && HVM select NEEDS_LIBELF select NUMA -- 2.30.2